package Operateur;
import Monitoring_Machine.*;


public class EnumUtils {
	
	public static String typeCommandeToString(Type_commande cmd) {
		switch(cmd.value()) {
			case Type_commande._cpu:
				return "cpu";
				
			case Type_commande._mem: 
				return "mem";
			
			case Type_commande._os:	
				return "os";
			
			case Type_commande._programme:	
				return "programme";
								
			default:
				return "unknown";
		}
	
		
	}

}
